import { NgModule } from '@angular/core';
import { AdminSharedModule } from '@app/admin/shared/admin-shared.module';
import { AppSharedModule } from '@app/shared/app-shared.module';
import { UsersRoutingModule } from './users-routing.module';
import { UsersComponent } from './users.component';
import { EditUserPermissionsModalComponent } from './edit-user-permissions-modal.component';
import { CreateOrEditUserModalComponent } from './create-or-edit-user-modal.component';
import { ImpersonationService } from '@app/admin/users/impersonation.service';
import { AppUserRoleUnitModule } from '@app/shared/common/user-role-unit/app-user-role-unit.module';

@NgModule({
    declarations: [
        UsersComponent,
        EditUserPermissionsModalComponent,
        CreateOrEditUserModalComponent
    ],
    imports: [AppSharedModule, AdminSharedModule, UsersRoutingModule, AppUserRoleUnitModule],
    providers: [ImpersonationService]
})
export class UsersModule {
}
